﻿namespace LeadMaster.Models
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.ComponentModel.DataAnnotations;

    public class Diary
    {
    public int DiaryID { get; set; }
    public Guid UserID { get; set; }
    public int LeadID { get; set; }

    [Display(Name="Contact Name")]
    public int ContactID { get; set; }

    [Display(Name="Company")]
    public int CompanyID { get; set; }
    
    [Required]
    public string Notes { get; set; }
    
    [Required]
    [Display(Name="Contact Type")]
    public string ContactType { get; set; }

    [Required]
    public DateTime Scheduled { get; set; }

    public bool? Completed { get; set; }

    public virtual Contacts Contact { get; set; }
    public virtual Leads Lead { get; set; }
    }
}